import 'package:flutter/foundation.dart';
import 'package:logging/logging.dart';

class Config {
  static const int majorVersion = 1;
  static const int minorVersion = 0;
  static const int patchVersion = 0;

  static const isDebug = kReleaseMode;
  static const logLevel = kReleaseMode ? Level.WARNING : Level.ALL;

  static const appId = 'app';

  static String get version => "$majorVersion.$minorVersion.$patchVersion";

  static const String server = "https://www.shirne.com/api/";
  static const String imgHost = "https://www.shirne.com";

  static const jPushPkgName = 'com.shirne.webapp';
  static const jPushAppKey = '';
  static const jPushChannel = 'default';
}
